package com.trimps.wifi.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.trimps.wifi.pojo.BlacklistInfoData;
import com.trimps.wifi.pojo.FlowData;
import com.trimps.wifi.pojo.User;

public interface BlacklistMapper {
    List<BlacklistInfoData> getBlacklistByKeyword(@Param("keywords")String keywords,@Param("start") int start, @Param("rowPage")int rowPerPage);

    public int getBlacklistCountByKeyword(@Param("keywords")String keywords);

    public BlacklistInfoData getBlacklistById(@Param("id") int id);
    
    public int delBlacklistById(@Param("id") int id);

    public int addBlacklist(@Param("blacklistInfoData") BlacklistInfoData blacklistInfoData);

    public int updateBlacklist(@Param("blacklistInfoData") BlacklistInfoData blacklistInfoData);

}
